package org.csu.jpetstore.service;

import org.csu.jpetstore.domain.Order;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public interface OrderService {


    List<Order> getOrdersByUserID(String userID);

    Order getOrder(int orderId);

    void updateOrderStatusById(int ordersID, String username);

    List<Order> getOrders();

    void updateOrderById(int ordersID,Order order);

    void addOrder(Order order);
}